<?php
// +----------------------------------------------------------------------
// | LinkValidate.
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://www.abc3210.com, All rights reserved.
// +----------------------------------------------------------------------
// | Author: wjf <admin@abc3210.com> 2017/7/5
// +----------------------------------------------------------------------

namespace app\admin\validate;

use think\Validate;

class LinkValidate extends Validate
{
    protected $rule = [
        'name' => 'require',
        'url'  => 'require',
    ];

    protected $message = [
      'name.require' => '名字不能为空',
      'url.require'  => '链接地址不能为空',
    ];
}